<?php
    /**
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/11/4
     * Time: 11:30
     */

    namespace app\api\controller;

    use app\common\model\PickUpGoods as PickUpGoodsModel;


    class PickUpGoods extends BaseController
    {

        /**
         * 获取所有取货商品类型
         * @return array|\PDOStatement|string|\think\Collection
         * @throws \think\db\exception\DataNotFoundException
         * @throws \think\db\exception\ModelNotFoundException
         * @throws \think\exception\DbException
         */
        public function getPickUpGoods()
        {
            $pickUpGoods = PickUpGoodsModel::select();
            return $pickUpGoods;
        }

    }